package by.parfen.game.datamodel;

import java.io.Serializable;

import javax.servlet.http.HttpSession;
import javax.websocket.Session;

public class GamePlayer implements Serializable {
	private static final long serialVersionUID = 387157779563995385L;

	private String name;
	private Session websocketSession;
	private HttpSession httpSession;

	private GameSession gameSession;
	private GamePortal gamePortal;

	public GamePlayer() {
		super();
	}

	public GamePlayer(String name) {
		super();
		this.name = name;
	}

	public GamePortal getGamePortal() {
		return gamePortal;
	}

	public void setGamePortal(GamePortal gamePortal) {
		this.gamePortal = gamePortal;
	}

	public GameSession getGameSession() {
		return gameSession;
	}

	public void setGameSession(GameSession gameSession) {
		this.gameSession = gameSession;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Session getWebsocketSession() {
		return websocketSession;
	}

	public void setWebsocketSession(Session websocketSession) {
		this.websocketSession = websocketSession;
	}

	public HttpSession getHttpSession() {
		return httpSession;
	}

	public void setHttpSession(HttpSession httpSession) {
		this.httpSession = httpSession;
	}

}
